package com.km.yygh.hosp.repository;

import com.km.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

//科室管理接口
@Repository
public interface DepartmentRepository  extends MongoRepository<Department,String> {
    //判断是否存在数据
    //上传科室接口
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
